<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
		<title>无标题文档</title>
		<script type="text/javascript"
			src="${pageContext.request.contextPath}/js/pageCommon.js"></script>
		<link rel="stylesheet"
			href="${pageContext.request.contextPath}/style/pageCommon.css"
			type="text/css"></link>
	</head>

	<body>
		<form
			action="${pageContext.request.contextPath}/Customer_updateCustById.action"
			method="post">
			<table width="100%" border="0" cellspacing="0" cellpadding="0">
				<tr>
					<td height="30"
						background="${pageContext.request.contextPath}/images/tab_05.gif">
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="12" height="30">
									<img src="${pageContext.request.contextPath}/images/tab_03.gif"
										width="12" height="30" />
								</td>
								<td>
									<table width="100%" border="0" cellspacing="0" cellpadding="0">
										<tr>
											<td width="46%" valign="middle">
												<table width="100%" border="0" cellspacing="0"
													cellpadding="0">
													<tr>
														<td width="5%">
															<div align="center">
																<img
																	src="${pageContext.request.contextPath}/images/tb.gif"
																	width="16" height="16" />
															</div>
														</td>
														<td width="95%" class="STYLE1">
															<span class="STYLE3">你当前的位置</span>：[客户信息管理]--[编辑客户信息]
														</td>
													</tr>
												</table>
											</td>
											<td width="54%">
												<table border="0" align="right" cellpadding="0"
													cellspacing="0">
													<tr>
														<td width="60">
															<table width="87%" border="0" cellpadding="0"
																cellspacing="0">
																<tr>
																	<td class="STYLE1">
																		<div align="center">
																			<img
																				src="${pageContext.request.contextPath}/images/pic25.gif"
																				width="14" height="14" />
																		</div>
																	</td>
																	<td class="STYLE1">
																		<div align="center">
																			<a
																				href="${pageContext.request.contextPath}/Customer_getAllCustomer.action">返回</a>
																		</div>
																	</td>
																</tr>
															</table>
														</td>
														<td width="60">
															<table width="90%" border="0" cellpadding="0"
																cellspacing="0">
																<tr>
																	<td class="STYLE1">
																		<div align="center">
																			<img
																				src="${pageContext.request.contextPath}/images/22.gif"
																				width="14" height="14" />
																		</div>
																	</td>
																	<td class="STYLE1">
																		<div align="center">
																			<input type="submit" value="保存"
																				style="border: 0px; background-image: url('${pageContext.request.contextPath}/images/btnbg.gif')" />
																		</div>
																	</td>
																</tr>
															</table>
														</td>
														<td width="60">
															<table width="90%" border="0" cellpadding="0"
																cellspacing="0">
																<tr>
																	<td class="STYLE1">
																		<div align="center">
																			<img
																				src="${pageContext.request.contextPath}/images/22.gif"
																				width="14" height="14" />
																		</div>
																	</td>
																	<td class="STYLE1">
																		<div align="center">
																			<input type="button" value="联系人"
																				style="border: 0px; background-image: url('${pageContext.request.contextPath}/images/btnbg.gif')" 
																				onclick="location.href='${pageContext.request.contextPath}/Customer_findAllLinkman.action?custId=${requestScope.custBean.custId}'"/>
																		</div>
																	</td>
																</tr>
															</table>
														</td>
														<td width="60">
															<table width="90%" border="0" cellpadding="0"
																cellspacing="0">
																<tr>
																	<td class="STYLE1">
																		<div align="center">
																			<img
																				src="${pageContext.request.contextPath}/images/22.gif"
																				width="14" height="14" />
																		</div>
																	</td>
																	<td class="STYLE1">
																		<div align="center">
																			<input type="button" value="交往记录"
																				style="border: 0px; background-image: url('${pageContext.request.contextPath}/images/btnbg.gif')" 
																				onclick="location.href='${pageContext.request.contextPath}/Customer_getAllActivityByCustId.action?custId=${requestScope.custBean.custId}'"/>
																		</div>
																	</td>
																</tr>
															</table>
														</td>
														<td width="60">
															<table width="90%" border="0" cellpadding="0"
																cellspacing="0">
																<tr>
																	<td class="STYLE1">
																		<div align="center">
																			<img
																				src="${pageContext.request.contextPath}/images/22.gif"
																				width="14" height="14" />
																		</div>
																	</td>
																	<td class="STYLE1">
																		<div align="center">
																			<input type="button" value="历史订单"
																				style="border: 0px; background-image: url('${pageContext.request.contextPath}/images/btnbg.gif')" 
																				onclick="location.href='${pageContext.request.contextPath}/Customer_findCustBycustNo.action?custNo=${requestScope.custBean.custNo}'"/>
																		</div>
																	</td>
																</tr>
															</table>
														</td>
														<td width="52">
															<table width="88%" border="0" cellpadding="0"
																cellspacing="0">
																<tr>
																	<td class="STYLE1">
																		<div align="center">
																			<img
																				src="${pageContext.request.contextPath}/images/11.gif"
																				width="14" height="14" />
																		</div>
																	</td>
																	<td class="STYLE1">
																		<div align="center">
																			帮助
																		</div>
																	</td>
																</tr>
															</table>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</td>
								<td width="16">
									<img src="${pageContext.request.contextPath}/images/tab_07.gif"
										width="16" height="30" />
								</td>
							</tr>
						</table>
					</td>
				</tr>

				<tr>
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="8"
									background="${pageContext.request.contextPath}/images/tab_12.gif">
									&nbsp;
								</td>
								<td>
									<table width="100%" border="0" cellpadding="0" cellspacing="1"
										bgcolor="b5d6e6" onmouseover="changeto()"
										onmouseout="changeback()">
										
										<tr>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">客户编号</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"> 
													<input type="hidden" name="cust.custId" value="${requestScope.custBean.custId}"/>
													<input type="text"
															style="background-color: #FFFFFF"
															name="cust.custNo" readonly="readonly" value="${requestScope.custBean.custNo}"/> </span>
												</div>
											</td>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">名称</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1">
														<input type="text"
															style="background-color: #FFFFFF"
															name="cust.custName" value="${requestScope.custBean.custName}"/>
													</span>
												</div>
											</td>
										</tr>
										<tr>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">地区</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1">
														<select name="cust.custRegion">
															<c:forEach var="address" items="${requestScope.addressList}">
																<option value="${address.dictItem}">${address.dictItem}</option>
															</c:forEach>
														</select>
													</span>
												</div>
											</td>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">客户经理</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"> 
														<select name="cust.custManagerId">
															<c:forEach var="sysUser" items="${requestScope.sysUserList}">
																<option value="${sysUser.userId}">${sysUser.userName}</option>
															</c:forEach>
														</select> 
													</span>
												</div>
											</td>
										</tr>
										<tr>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">客户等级</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1">
														<select name="cust.custLevel">
															<c:forEach var="custGrade" items="${requestScope.custGradeList}">
																<option value="${custGrade.dictId}">${custGrade.dictItem}</option>
															</c:forEach>
														</select>
													</span>
												</div>
											</td>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1"></span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"></span>
												</div>
											</td>
										</tr>
										<tr>
											<td width="2%" height="22" bgcolor="#FFFFFF" rowspan="4">
												<div align="center">
													<span class="STYLE1">客户满意度</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1">
														<select name="cust.custSatisfy">
															<c:forEach var="custFill" items="${requestScope.custFillList}">
																<option value="${custFill.dictId}">${custFill.dictItem}</option>
															</c:forEach>
														</select>
													</span>
												</div>
											</td>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">客户信用度</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1">
														<select name="cust.custCredit">
															<c:forEach var="custCre" items="${requestScope.custCreDitList}">
																<option value="${custCre.dictId}">${custCre.dictItem}</option>
															</c:forEach>
														</select>
													</span>
												</div>
											</td>
										</tr>
									</table>
								</td>
								
								<td width="8"
									background="${pageContext.request.contextPath}/images/tab_15.gif">
									&nbsp;
								</td>
							</tr>
						</table>
					</td>
				</tr>
				<tr><td><br /></td></tr>
				<tr>
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="8"
									background="${pageContext.request.contextPath}/images/tab_12.gif">
									&nbsp;
								</td>
								<td>
									<table width="100%" border="0" cellpadding="0" cellspacing="1"
										bgcolor="b5d6e6" onmouseover="changeto()"
										onmouseout="changeback()">
										
										<tr>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">地址</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"> 
													<input type="text"
															style="background-color: #FFFFFF"
															name="cust.custAddr" value="${requestScope.custBean.custAddr}"/> </span>
												</div>
											</td>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">邮政编码</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1">
														<input type="text"
															style="background-color: #FFFFFF"
															name="cust.custZip" value="${requestScope.custBean.custZip}"/>
													</span>
												</div>
											</td>
										</tr>
										<tr>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">电话</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"> <input type="text"
															style="background-color: #FFFFFF"
															name="cust.custTel" value="${requestScope.custBean.custTel}"/> </span>
												</div>
											</td>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">传真</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"> <input type="text"
															style="background-color: #FFFFFF"
															name="cust.custFax" value="${requestScope.custBean.custFax}"/> </span>
												</div>
											</td>
										</tr>
										<tr>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">网址</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"> <input type="text"
															style="background-color: #FFFFFF"
															name="cust.custWebsite" value="${requestScope.custBean.custWebsite}"/> </span>
												</div>
											</td>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1"></span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"></span>
												</div>
											</td>
										</tr>
									</table>
								</td>
								
								<td width="8"
									background="${pageContext.request.contextPath}/images/tab_15.gif">
									&nbsp;
								</td>
							</tr>
						</table>
					</td>
				</tr>
				
				<tr><td><br /></td></tr>
				<tr>
					<td>
						<table width="100%" border="0" cellspacing="0" cellpadding="0">
							<tr>
								<td width="8"
									background="${pageContext.request.contextPath}/images/tab_12.gif">
									&nbsp;
								</td>
								<td>
									<table width="100%" border="0" cellpadding="0" cellspacing="1"
										bgcolor="b5d6e6" onmouseover="changeto()"
										onmouseout="changeback()">
										
										<tr>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">营业执照注册号</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"> 
													<input type="text"
															style="background-color: #FFFFFF"
															name="cust.custLicenceNo" value="${requestScope.custBean.custLicenceNo}"/> </span>
												</div>
											</td>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">法人</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1">
														<input type="text"
															style="background-color: #FFFFFF"
															name="cust.custChieftain" value="${requestScope.custBean.custChieftain}"/>
													</span>
												</div>
											</td>
										</tr>
										<tr>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">注册资金(万元)</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"> <input type="text"
															style="background-color: #FFFFFF"
															name="cust.custBankroll" value="${requestScope.custBean.custBankroll}"/> </span>
												</div>
											</td>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">年营业额</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"> <input type="text"
															style="background-color: #FFFFFF"
															name="cust.custTurnover" value="${requestScope.custBean.custTurnover}"/> </span>
												</div>
											</td>
										</tr>
										<tr>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">开户银行</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"> <input type="text"
															style="background-color: #FFFFFF"
															name="cust.custBank" value="${requestScope.custBean.custBank}"/> </span>
												</div>
											</td>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">银行帐号</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"> <input type="text"
															style="background-color: #FFFFFF"
															name="cust.custBankAccount" value="${requestScope.custBean.custBankAccount}"/> </span>
												</div>
											</td>
										</tr>
										<tr>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">地税登记号</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"> <input type="text"
															style="background-color: #FFFFFF"
															name="cust.custLocalTaxNo" value="${requestScope.custBean.custLocalTaxNo}"/> </span>
												</div>
											</td>
											<td width="2%" height="22" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE1">国税登记号</span>
												</div>
											</td>
											<td width="3%" height="22" bgcolor="#FFFFFF">
												<div align="left">
													<span class="STYLE1"> <input type="text"
															style="background-color: #FFFFFF"
															name="cust.custNationalTaxNo" value="${requestScope.custBean.custNationalTaxNo}"/> </span>
												</div>
											</td>
										</tr>
									</table>
								</td>
								
								<td width="8"
									background="${pageContext.request.contextPath}/images/tab_15.gif">
									&nbsp;
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</form>
	</body>
</html>